

import 'package:xin_nuo_pda/generated/json/base/json_field.dart';

import '../generated/json/base/json_convert_content.dart';


class UserEntity with JsonConvert<UserEntity>{

	@JSONField(name: "LOGINRESULT")
	late bool lOGINRESULT;
	@JSONField(name: "USER")
	late UserInfo uSER;
}


class UserInfo with JsonConvert<UserInfo>{

	@JSONField(name: "USERNAME")
	late String uSERNAME;
	@JSONField(name: "DESCRIPTION")
	late String dESCRIPTION;
	@JSONField(name: "DEFAULTLANGUAGE")
	late String dEFAULTLANGUAGE;
	@JSONField(name: "DEFAULTORGRRN")
	late int dEFAULTORGRRN;
	@JSONField(name: "ISCLIENTENCRY")
	late String iSCLIENTENCRY;
}


class AuthorityEntity with JsonConvert<AuthorityEntity>{

	AuthorityEntity();

	@JSONField(name: "AUTHORITYLIST")
	late List<AuthorityInfo> authoritylist;
}


class AuthorityInfo with JsonConvert<AuthorityInfo>{

	AuthorityInfo();

	@JSONField(name: "OBJECTRRN")
	late String objectrrn;
	@JSONField(name: "NAME")
	late String name;
	@JSONField(name: "AUTHORITYTYPE")
	late String authoritytype;
	@JSONField(name: "PARENTRRN")
	late int parentrrn;
	@JSONField(name: "SEQNO")
	late String seqno;
	@JSONField(name: "LABEL")
	late String label;
	@JSONField(name: "LABELZH")
	late String labelzh;
}
